﻿<Window x:Class="layout__khonthanh_.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        ResizeMode="NoResize"
        WindowStyle="None"
        Title="MainWindow" Height="700" Width="800" WindowState="Normal" WindowStartupLocation="CenterScreen" MouseLeftButtonDown="Window_MouseLeftButtonDown">
    <Grid ShowGridLines="False" Background="DarkCyan">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"></RowDefinition>
            <RowDefinition Height="*" ></RowDefinition>
            <RowDefinition Height="*" ></RowDefinition>
            <RowDefinition Height="*" ></RowDefinition>
            <RowDefinition Height="*" ></RowDefinition>
        </Grid.RowDefinitions>

        <TextBlock Grid.Row="0" Grid.Column="0" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontWeight="Bold" FontFamily="Bradley Hand ITC">GAME      TETRIS</TextBlock>
        <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Right">
            <Image Height="24" Source="/Images/winMinimize.png"></Image>
            <Image Height="24" Source="/Images/winMaximize.png"></Image>
            <Image Height="24" Source="/Images/winClose.png"></Image>

        </StackPanel>
        <StackPanel Grid.Row="1" Grid.Column="0" Background="Red"></StackPanel>
        <StackPanel Name="txtplayer" Grid.Row="1" Grid.Column="1" Background="Black"></StackPanel>
        <StackPanel Grid.Row="2" Grid.RowSpan="3" Grid.Column="0" Background="Yellow"></StackPanel>
        <StackPanel Name="txtpoint" Grid.Row="2" Grid.Column="1" Background="Green"></StackPanel>
        <StackPanel Name="txtlevel" Grid.Column="1" Grid.Row="3" Background="Aqua"></StackPanel>
        <StackPanel Grid.Column="1" Grid.Row="4" Background="Black" Orientation="Horizontal" VerticalAlignment="Bottom">
            <Button Width="100" Height="70">SOUND</Button>
            <Button Width="100" Height="70" Click="Button_Click">EXIT</Button>
        </StackPanel>
    </Grid>
</Window>
